package com.scgl.process.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 报工记录对象 scgl_pen
 * 
 * @author ruoyi
 * @date 2024-11-01
 */
public class ScglPen extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long serial;

    /** 报工数量 */
    @Excel(name = "报工数量")
    private Long reportedQuantity;

    /** 设备名称 */
    @Excel(name = "设备名称")
    private String devicename;

    /** 设备编码 */
    @Excel(name = "设备编码")
    private String coding;

    /** 宽度 */
    @Excel(name = "宽度")
    private Long width;

    /** 直径 */
    @Excel(name = "直径")
    private Long dia;

    /** 操作人 */
    @Excel(name = "操作人")
    private String creator;

    /** 报工时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报工时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creationTime;

    public void setSerial(Long serial) 
    {
        this.serial = serial;
    }

    public Long getSerial() 
    {
        return serial;
    }
    public void setReportedQuantity(Long reportedQuantity) 
    {
        this.reportedQuantity = reportedQuantity;
    }

    public Long getReportedQuantity() 
    {
        return reportedQuantity;
    }
    public void setDevicename(String devicename) 
    {
        this.devicename = devicename;
    }

    public String getDevicename() 
    {
        return devicename;
    }
    public void setCoding(String coding) 
    {
        this.coding = coding;
    }

    public String getCoding() 
    {
        return coding;
    }
    public void setWidth(Long width) 
    {
        this.width = width;
    }

    public Long getWidth() 
    {
        return width;
    }
    public void setDia(Long dia) 
    {
        this.dia = dia;
    }

    public Long getDia() 
    {
        return dia;
    }
    public void setCreator(String creator) 
    {
        this.creator = creator;
    }

    public String getCreator() 
    {
        return creator;
    }
    public void setCreationTime(Date creationTime) 
    {
        this.creationTime = creationTime;
    }

    public Date getCreationTime() 
    {
        return creationTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("serial", getSerial())
            .append("reportedQuantity", getReportedQuantity())
            .append("devicename", getDevicename())
            .append("coding", getCoding())
            .append("width", getWidth())
            .append("dia", getDia())
            .append("creator", getCreator())
            .append("creationTime", getCreationTime())
            .append("remark", getRemark())
            .toString();
    }
}
